dynamically loading a function in a shared library causes a segmentation fault

join shbcf.ru